package com.wodogs.utils.bean;

import java.io.Serializable;

public class WfProxy implements Serializable{
	
	private static final long serialVersionUID = 8058990623991925048L;
	
	private String id;
	private String ip;
	private String port;
	private Integer is_used;
	
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getIp() {
		return ip;
	}
	public void setIp(String ip) {
		this.ip = ip;
	}
	public String getPort() {
		return port;
	}
	public void setPort(String port) {
		this.port = port;
	}
	public WfProxy() {
		super();
	}
	public WfProxy(Object id, Object ip, Object port,Object is_used) {
		super();
		if(id!=null){
			this.id = id.toString();
		}
		if(ip!=null){
			this.ip = ip.toString();
		}
		if(port!=null){
			this.port = port.toString();
		}
		try{
			this.is_used = Double.valueOf(is_used.toString()).intValue();
		}catch(Exception ex){
			
		}
	}
	public Integer getIs_used() {
		return is_used;
	}
	public void setIs_used(Integer is_used) {
		this.is_used = is_used;
	}
	
}
